200
|
How do I arrange my columns on multiple lines

public void init()
{
;
super();
excombobox1.HeaderHeight(32);
COM::createFromVariant(excombobox1.Columns().Add("")).HTMLCaption("Line 1<br>Line 2");
}
|
199
|
How can I display all cells using HTML format

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("HTML")).Def(17/*exCellCaptionFormat*/,COMVariant::createFromInt(1));
excombobox1.Items().AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");
}
|
198
|
How can I display all cells using multiple lines

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
COM::createFromVariant(excombobox1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
COM::createFromVariant(excombobox1.Columns().Add("SingleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(true));
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"this is a bit of long text that's displayed on a single line");
}
|
197
|
How do change the vertical alignment for all cells in the column

public void init()
{
COM com_Items,com_Items1;
anytype var_Items,var_Items1;
;
super();
COM::createFromVariant(excombobox1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
COM::createFromVariant(excombobox1.Columns().Add("VAlign")).Def(6/*exCellVAlignment*/,COMVariant::createFromInt(2));
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom");
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom");
}
|
196
|
How do change the foreground color for all cells in the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("ForeColor")).Def(5/*exCellForeColor*/,COMVariant::createFromInt(255));
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
195
|
How do change the background color for all cells in the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("BackColor")).Def(4/*exCellBackColor*/,COMVariant::createFromInt(255));
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
194
|
How do I show buttons for all cells in the column

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Button")); com_Column = var_Column;
com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
com_Column.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
excombobox1.Items().AddItem(" Button 1 ");
excombobox1.Items().AddItem(" Button 2 ");
}
|
193
|
How do I show buttons for all cells in the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Button")).Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
192
|
How do I display radio buttons for all cells in the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
191
|
How do I display checkboxes for all cells in the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
190
|
How can I display a tooltip when the cursor hovers the column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("tooltip")).ToolTip("This is a bit of text that is shown when user hovers the column.");
}
|
189
|
Is there any function to assign a key to a column instead using its name or capion

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Data")).Key("DKey");
var_Column = COM::createFromObject(excombobox1.Columns()).Item("DKey"); com_Column = var_Column;
com_Column.Caption("new caption");
}
|
188
|
Is there any function to assign any extra data to a column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Data")).Data("your extra data");
}
|
187
|
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Sort")).DefaultSortOrder(true);
}
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Auto")); com_Column = var_Column;
com_Column.WidthAutoResize(true);
com_Column.MinWidthAutoResize(32);
com_Column.MaxWidthAutoResize(128);
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Auto")); com_Column = var_Column;
com_Column.WidthAutoResize(true);
com_Column.MinWidthAutoResize(32);
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
184
|
Is there any option to resize the column based on its data, captions

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("A")).WidthAutoResize(true);
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
183
|
How can I align the icon in the column's header in the center

public void init()
{
COM com_Column;
anytype var_Column;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
excombobox1.Images(COMVariant::createFromStr(var_s));
var_Column = COM::createFromVariant(excombobox1.Columns().Add("")); com_Column = var_Column;
com_Column.HeaderImage(1);
com_Column.HeaderImageAlignment(1/*CenterAlignment*/);
}
|
182
|
How do I align the icon in the column's header to the right

public void init()
{
COM com_Column;
anytype var_Column;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
excombobox1.Images(COMVariant::createFromStr(var_s));
var_Column = COM::createFromVariant(excombobox1.Columns().Add("ColumnName")); com_Column = var_Column;
com_Column.HeaderImage(1);
com_Column.HeaderImageAlignment(2/*RightAlignment*/);
}
|
181
|
How do I show or hide the sorting icons, but still need sorting

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Sorted")).SortOrder(1/*SortAscending*/);
var_Column = COM::createFromObject(excombobox1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
com_Column.DisplaySortIcon(false);
}
|
180
|
How do I enable or disable the entire column

public void init()
{
COM com_Items,com_Items1;
anytype var_Items,var_Items1;
;
super();
excombobox1.Columns().Add("C1");
COM::createFromVariant(excombobox1.Columns().Add("Disabled")).Enabled(false);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),"0.1");
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),"1.1");
}
|
179
|
How do I disable drag and drop columns

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("C1")).AllowDragging(false);
COM::createFromVariant(excombobox1.Columns().Add("C2")).AllowDragging(false);
}
|
178
|
How do I disable resizing a column at runtime

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Unsizable")).AllowSizing(false);
excombobox1.Columns().Add("C2");
excombobox1.Columns().Add("C3");
excombobox1.Columns().Add("C4");
}
|
177
|
How can I align the column to the right, and its caption too

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.Alignment(2/*RightAlignment*/);
com_Column.HeaderAlignment(2/*RightAlignment*/);
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
176
|
How can I align the column to the right

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Column")).Alignment(2/*RightAlignment*/);
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
}
|
175
|
How do I change the column's caption

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Column")).Caption("new caption");
}
|
174
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

public void init()
{
COM com_Items,com_Items1;
anytype var_Items,var_Items1;
;
super();
excombobox1.FormatAnchor(false,"<b><u><fgcolor=880000> </fgcolor></u></b>");
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaptionFormat(com_Items.AddItem("Just an <a1>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaptionFormat(com_Items1.AddItem("Just another <a2>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
excombobox1.Items().AddItem("next item");
}
|
173
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

public void init()
{
COM com_Items,com_Items1;
anytype var_Items,var_Items1;
;
super();
excombobox1.FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaptionFormat(com_Items.AddItem("Just an <a1>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaptionFormat(com_Items1.AddItem("Just another <a2>anchor</a> element ..."),COMVariant::createFromInt(0),1/*exHTML*/);
}
|
172
|
Can I change the font for the tooltip

public void init()
{
;
super();
excombobox1.ToolTipDelay(1);
excombobox1.ToolTipWidth(364);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>");
}
|
171
|
Can I change the font for the tooltip

public void init()
{
COM com_StdFont;
anytype var_StdFont;
;
super();
excombobox1.ToolTipDelay(1);
var_StdFont = excombobox1.ToolTipFont(); com_StdFont = var_StdFont;
com_StdFont.Name("Tahoma");
com_StdFont.Size(14);
excombobox1.ToolTipWidth(364);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
|
170
|
Can I change the order of the buttons in the scroll bar

public void init()
{
;
super();
excombobox1.ScrollOrderParts(1/*exHScroll*/,"t,l,r");
excombobox1.ScrollOrderParts(0/*exVScroll*/,"t,l,r");
}
|
169
|
The thumb size seems to be very small. Can I make it bigger

public void init()
{
;
super();
excombobox1.ColumnAutoResize(false);
COM::createFromVariant(excombobox1.Columns().Add("C1")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C2")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C3")).Width(256);
excombobox1.ScrollThumbSize(1/*exHScroll*/,64);
}
|
168
|
How can I display my text on the scroll bar, using a different font

public void init()
{
;
super();
excombobox1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is <s><font Tahoma;12> just </font></s> text");
excombobox1.ColumnAutoResize(false);
excombobox1.ScrollHeight(20);
COM::createFromVariant(excombobox1.Columns().Add("C1")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C2")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C3")).Width(256);
}
|
167
|
How can I display my text on the scroll bar, using a different font

public void init()
{
COM com_StdFont;
anytype var_StdFont;
;
super();
excombobox1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"This is just a text");
var_StdFont = COM::createFromObject(excombobox1.ScrollFont(1/*exHScroll*/)); com_StdFont = var_StdFont;
com_StdFont.Size(12);
excombobox1.ColumnAutoResize(false);
excombobox1.ScrollHeight(20);
COM::createFromVariant(excombobox1.Columns().Add("C1")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C2")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C3")).Width(256);
}
|
166
|
How can I display my text on the scroll bar

public void init()
{
;
super();
excombobox1.ScrollPartCaption(1/*exHScroll*/,256/*exThumbPart*/,"this is just a text");
excombobox1.ColumnAutoResize(false);
COM::createFromVariant(excombobox1.Columns().Add("C1")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C2")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C3")).Width(256);
}
|
165
|
How do I enlarge or change the size of the control's scrollbars

public void init()
{
;
super();
excombobox1.ScrollHeight(18);
excombobox1.ScrollWidth(18);
excombobox1.ScrollButtonWidth(18);
excombobox1.ScrollButtonHeight(18);
}
|
164
|
How do I assign a tooltip to a scrollbar

public void init()
{
;
super();
excombobox1.ScrollToolTip(1/*exHScroll*/,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
excombobox1.ColumnAutoResize(false);
COM::createFromVariant(excombobox1.Columns().Add("C1")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C2")).Width(256);
COM::createFromVariant(excombobox1.Columns().Add("C3")).Width(256);
}
|
163
|
How do I assign an icon to the button in the scrollbar

public void init()
{
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
excombobox1.Images(COMVariant::createFromStr(var_s));
excombobox1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
excombobox1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"<img>1</img>");
excombobox1.ScrollHeight(18);
excombobox1.ScrollButtonWidth(18);
}
|
162
|
I need to add a button in the scroll bar. Is this possible

public void init()
{
;
super();
excombobox1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
excombobox1.ScrollPartCaption(1/*exHScroll*/,32768/*exLeftB1Part*/,"1");
}
|
161
|
Can I display an additional buttons in the scroll bar

public void init()
{
;
super();
excombobox1.ScrollPartVisible(1/*exHScroll*/,32768/*exLeftB1Part*/,true);
excombobox1.ScrollPartVisible(1/*exHScroll*/,16384/*exLeftB2Part*/,true);
excombobox1.ScrollPartVisible(1/*exHScroll*/,1/*exRightB6Part*/,true);
excombobox1.ScrollPartVisible(1/*exHScroll*/,2/*exRightB5Part*/,true);
}
|
160
|
How can I display a custom size picture to a cell or item

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.DefaultItemHeight(48);
excombobox1.Columns().Add("C1");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellPicture(com_Items.AddItem("Text"),COMVariant::createFromInt(0),COM::createFromVariant(excombobox1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")));
}
|
159
|
How can I display a multiple pictures to a cell or item

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.DefaultItemHeight(48);
excombobox1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
excombobox1.HTMLPicture("pic2","c:\\exontrol\\images\\auction.gif");
excombobox1.Columns().Add("C1");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaptionFormat(com_Items.AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),COMVariant::createFromInt(0),1/*exHTML*/);
}
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

public void init()
{
COM com_ConditionalFormat,com_Items,com_Items1,com_Items2,com_Items3;
anytype var_ConditionalFormat,var_Items,var_Items1,var_Items2,var_Items3;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.Bold(true);
com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
com_ConditionalFormat.ApplyTo(1);
excombobox1.Columns().Add("N1");
excombobox1.Columns().Add("N2");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem(COMVariant::createFromInt(3)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
var_Items2 = excombobox1.Items(); com_Items2 = var_Items2;
com_Items2.CellCaption(com_Items2.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(11));
var_Items3 = excombobox1.Items(); com_Items3 = var_Items3;
com_Items3.CellCaption(com_Items3.AddItem(COMVariant::createFromInt(13)),COMVariant::createFromInt(1),COMVariant::createFromInt(31));
excombobox1.SearchColumnIndex(1);
}
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 2 and %0 <= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
156
|
How do I change the item's background color for numbers less than a value

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 < 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
155
|
How do I underline the numbers greater than a value

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.Underline(true);
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
154
|
How do I highlight in italic the numbers greater than a value

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.StrikeOut(true);
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
153
|
How do I highlight in italic the numbers greater than a value

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.Italic(true);
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
152
|
How do I highlight in bold the numbers greater than a value

public void init()
{
COM com_ConditionalFormat;
anytype var_ConditionalFormat;
;
super();
var_ConditionalFormat = COM::createFromObject(excombobox1.ConditionalFormats()).Add("%0 >= 10"); com_ConditionalFormat = var_ConditionalFormat;
com_ConditionalFormat.Bold(true);
excombobox1.Columns().Add("Numbers");
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.Items().AddItem(COMVariant::createFromInt(10));
excombobox1.Items().AddItem(COMVariant::createFromInt(20));
}
|
151
|
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
excombobox1.HasButtons(4/*exCustom*/);
excombobox1.HasButtonsCustom(0,16777216);
excombobox1.HasButtonsCustom(1,33554432);
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Root 1");
com_Items.InsertItem(h,,"Child 1");
com_Items.InsertItem(h,,"Child 2");
com_Items.ExpandItem(h,true);
h = com_Items.AddItem("Root 2");
com_Items.InsertItem(h,,"Child");
}
|
150
|
Can I use your EBN files to change the visual appearance for radio buttons

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.RadioImage(0,16777216);
excombobox1.RadioImage(1,33554432);
COM::createFromVariant(excombobox1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.AddItem("Radio 1");
com_Items.CellState(com_Items.AddItem("Radio 2"),COMVariant::createFromInt(0),1);
com_Items.AddItem("Radio 3");
}
|
149
|
Can I use your EBN files to change the visual appearance for checkbox cells

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.CheckImage(0/*Unchecked*/,16777216);
excombobox1.CheckImage(1/*Checked*/,33554432);
COM::createFromVariant(excombobox1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.AddItem("Check 1");
com_Items.CellState(com_Items.AddItem("Check 2"),COMVariant::createFromInt(0),1);
}
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.Background(388/*exHSThumb*/,0x1000000);
excombobox1.Background(389/*exHSThumbP*/,0x2000000);
excombobox1.Background(391/*exHSThumbH*/,0x3000000);
excombobox1.Background(260/*exVSThumb*/,0x1000000);
excombobox1.Background(261/*exVSThumbP*/,0x2000000);
excombobox1.Background(263/*exVSThumbH*/,0x3000000);
excombobox1.ColumnAutoResize(false);
excombobox1.ScrollBySingleLine(true);
COM::createFromVariant(excombobox1.Columns().Add("S")).Width(483);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.ItemHeight(com_Items.AddItem("Item 1"),248);
excombobox1.Items().AddItem("Item 2");
}
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.Background(388/*exHSThumb*/,0x1000000);
excombobox1.Background(389/*exHSThumbP*/,0x2000000);
excombobox1.Background(391/*exHSThumbH*/,0x3000000);
excombobox1.ColumnAutoResize(false);
COM::createFromVariant(excombobox1.Columns().Add("S")).Width(483);
}
|
146
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.VisualAppearance().Add(3,"c:\\exontrol\\images\\hot.ebn");
excombobox1.Background(324/*exSBtn*/,0x1000000);
excombobox1.Background(325/*exSBtnP*/,0x2000000);
excombobox1.Background(327/*exSBtnH*/,0x3000000);
excombobox1.Background(404/*exHSBack*/,WinApi::RGB2int(240,240,240));
excombobox1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
excombobox1.Background(511/*exScrollHoverAll | exDateScrollThumb*/,WinApi::RGB2int(240,240,240));
COM::createFromVariant(excombobox1.Columns().Add("S")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("E1")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E2")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E3")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E4")).Width(32);
excombobox1.ColumnAutoResize(false);
}
|
145
|
Is there any option to highligth the column from the cursor - point

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Background(32/*exCursorHoverColumn*/,0x1000000);
COM::createFromVariant(excombobox1.Columns().Add("S")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("E1")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E2")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E3")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("E4")).Width(32);
}
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Background(20/*exSelBackColorFilter*/,0x1000000);
excombobox1.Background(21/*exSelForeColorFilter*/,WinApi::RGB2int(255,20,20));
COM::createFromVariant(excombobox1.Columns().Add("Filter")).DisplayFilterButton(true);
}
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.Background(8/*exDateHeader*/,0x1000000);
excombobox1.Background(9/*exDateTodayUp*/,0x1000000);
excombobox1.Background(10/*exDateTodayDown*/,0x2000000);
excombobox1.Background(11/*exDateScrollThumb*/,0x1000000);
excombobox1.Background(12/*exDateScrollRange*/,WinApi::RGB2int(230,230,230));
excombobox1.Background(13/*exDateSeparatorBar*/,WinApi::RGB2int(230,230,230));
excombobox1.Background(14/*exDateSelect*/,0x1000000);
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Date")); com_Column = var_Column;
com_Column.FilterType(4/*exDate*/);
com_Column.DisplayFilterButton(true);
com_Column.DisplayFilterDate(true);
}
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Background(1/*exFooterFilterBarButton*/,0x1000000);
COM::createFromVariant(excombobox1.Columns().Add("Filter")).FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.Background(2/*exCellButtonUp*/,0x1000000);
excombobox1.Background(3/*exSizeGrip*/,0x2000000);
excombobox1.SelForeColor(WinApi::RGB2int(0,0,0));
excombobox1.ShowFocusRect(false);
COM::createFromVariant(excombobox1.Columns().Add("Column 1")).Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
excombobox1.Items().AddItem("Button 1");
excombobox1.Items().AddItem("Button 2");
excombobox1.Columns().Add("Column 2");
}
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.Background(0/*exHeaderFilterBarButton*/,0x1000000);
COM::createFromVariant(excombobox1.Columns().Add("Filter")).DisplayFilterButton(true);
}
|
139
|
Is there any function to get the control's data in your x-script format / template

public void init()
{
;
super();
excombobox1.Columns().Add("Column");
excombobox1.Items().AddItem("ToTemplate()");
}
|
138
|
How do I enable resizing the columns at runtime

public void init()
{
COM com_Items,com_Items1;
anytype var_Items,var_Items1;
;
super();
excombobox1.ColumnsAllowSizing(true);
excombobox1.MarkSearchColumn(false);
excombobox1.HeaderVisible(false);
excombobox1.Columns().Add("Column 1");
excombobox1.Columns().Add("Column 2");
excombobox1.DrawGridLines(2/*exVLines*/);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"Sub Item 1");
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem("Item 2"),COMVariant::createFromInt(1),"Sub Item 2");
}
|
137
|
How do I enable resizing ( changing the height ) the items at runtime

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.ItemsAllowSizing(true);
excombobox1.ScrollBySingleLine(true);
excombobox1.Columns().Add("Column");
excombobox1.Items().AddItem("Item 1");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.ItemHeight(com_Items.AddItem("Item 2"),48);
excombobox1.Items().AddItem("Item 3");
}
|
136
|
How can I sort by multiple columns

public void init()
{
;
super();
excombobox1.SingleSort(false);
COM::createFromVariant(excombobox1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
COM::createFromVariant(excombobox1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
COM::createFromVariant(excombobox1.Columns().Add("C3")).SortOrder(1/*SortAscending*/);
}
|
135
|
How can I add several columns to control's sort bar

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.SortBarColumnWidth(48);
COM::createFromVariant(excombobox1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
COM::createFromVariant(excombobox1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
}
|
134
|
How can I change the width of the columns being displayed in the sort bar

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.SortBarColumnWidth(48);
COM::createFromVariant(excombobox1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
COM::createFromVariant(excombobox1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
}
|
133
|
How can I change the height of the sort bar's

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.SortBarHeight(48);
}
|
132
|
How can I change the sort bar's foreground color

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.ForeColorSortBar(WinApi::RGB2int(255,0,0));
}
|
131
|
How can I change the visual appearance of the control's sort bar, using EBN files

public void init()
{
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
excombobox1.SortBarVisible(true);
excombobox1.BackColorSortBar(0x1000000);
excombobox1.BackColorSortBarCaption(0x2000000);
excombobox1.Appearance(0/*None2*/);
}
|
130
|
How can I change the sort bar's background color

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.BackColorSortBar(WinApi::RGB2int(255,0,0));
excombobox1.BackColorSortBarCaption(WinApi::RGB2int(128,0,0));
}
|
129
|
How can I change the default caption being displayed in the control's sort bar

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
excombobox1.SortBarCaption("new caption");
}
|
128
|
How can I show the locked / fixed items on the bottom side of the control

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.ShowLockedItems(true);
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.LockedItemCount(1/*exMiddle*/,2);
com_Items.CellCaption(com_Items.LockedItem(1/*exMiddle*/,0),COMVariant::createFromInt(0),"locked item 1");
com_Items.CellCaption(com_Items.LockedItem(1/*exMiddle*/,1),COMVariant::createFromInt(0),"locked item 2");
com_Items.AddItem("un-locked item");
}
|
127
|
How can I show the locked / fixed items

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.ShowLockedItems(true);
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.LockedItemCount(0/*exTop*/,2);
com_Items.CellCaption(com_Items.LockedItem(0/*exTop*/,0),COMVariant::createFromInt(0),"locked item 1");
com_Items.CellCaption(com_Items.LockedItem(0/*exTop*/,1),COMVariant::createFromInt(0),"locked item 2");
com_Items.AddItem("un-locked item");
}
|
126
|
How can I hide the locked / fixed items

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.ShowLockedItems(false);
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.LockedItemCount(0/*exTop*/,1);
com_Items.CellCaption(com_Items.LockedItem(0/*exTop*/,0),COMVariant::createFromInt(0),"locked item");
com_Items.AddItem("un-locked item");
}
|
125
|
How can I show the control's sort bar

public void init()
{
;
super();
excombobox1.SortBarVisible(true);
}
|
124
|
How can I change the header's background color, when multiple levels are displayed

public void init()
{
;
super();
excombobox1.BackColorLevelHeader(WinApi::RGB2int(250,0,0));
COM::createFromVariant(excombobox1.Columns().Add("S")).Width(32);
COM::createFromVariant(excombobox1.Columns().Add("Level 1")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
COM::createFromVariant(excombobox1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
}
|
123
|
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.ExpandOnSearch(true);
excombobox1.LinesAtRoot(-1/*exLinesAtRoot*/);
excombobox1.AutoSearch(true);
COM::createFromVariant(excombobox1.Columns().Add("Column")).AutoSearch(1/*exContains*/);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.InsertItem(com_Items.InsertItem(com_Items.AddItem("text"),,"some text"),,"another text");
com_Items.InsertItem(com_Items.InsertItem(com_Items.AddItem("text"),,"some text"),,"another text");
}
|
122
|
Do you have some function to load data from a safe array

public void init()
{
;
super();
excombobox1.Columns().Add("Column");
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
}
|
121
|
Do you have some function to retrieve all items to a safe array

public void init()
{
;
super();
excombobox1.Columns().Add("Column");
excombobox1.Items().AddItem(COMVariant::createFromInt(0));
excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
excombobox1.Items().AddItem(COMVariant::createFromInt(1));
excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
excombobox1.Items().AddItem(COMVariant::createFromInt(2));
excombobox1.PutItems(excombobox1.GetItems(COMVariant::createFromInt(0)));
excombobox1.Items().AddItem(COMVariant::createFromInt(3));
}
|
120
|
How can I hide a column

public void init()
{
;
super();
COM::createFromVariant(excombobox1.Columns().Add("Hidden")).Visible(false);
excombobox1.Columns().Add("2");
excombobox1.Columns().Add("3");
excombobox1.Columns().Add("4");
excombobox1.Columns().Add("5");
}
|
119
|
I've seen that the width of the tooltip is variable. Can I make it larger

public void init()
{
;
super();
excombobox1.ToolTipWidth(328);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("this is a tooltip that should be very very very very very very very long");
}
|
118
|
How do I disable showing the tooltip for all control
public void init()
{
;
super();
excombobox1.ToolTipDelay(0);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
|
117
|
How do I let the tooltip being displayed longer

public void init()
{
;
super();
excombobox1.ToolTipPopDelay(10000);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
|
116
|
How do I show the tooltip quicker

public void init()
{
;
super();
excombobox1.ToolTipDelay(1);
COM::createFromVariant(excombobox1.Columns().Add("tootip")).ToolTip("this is a tooltip assigned to a column");
}
|
115
|
How do I change the caption being displayed in the control's filter bar

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarCaption("your filter caption");
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
114
|
How do I search case sensitive, using your incremental search feature

public void init()
{
COM com_Columns,com_Items,com_Items1;
anytype var_Columns,var_Items,var_Items1;
;
super();
excombobox1.AutoSearch(true);
excombobox1.ASCIILower("");
var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/);
COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem("text"),COMVariant::createFromInt(1),"another text");
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem("text"),COMVariant::createFromInt(1),"another text");
}
|
113
|
How do I disable the control

public void init()
{
;
super();
excombobox1.Enabled(false);
}
|
112
|
How do I enable the incremental search feature within a column

public void init()
{
COM com_Columns,com_Items,com_Items1;
anytype var_Columns,var_Items,var_Items1;
;
super();
excombobox1.AutoSearch(true);
var_Columns = excombobox1.Columns(); com_Columns = var_Columns;
COM::createFromVariant(com_Columns.Add("exStartWith")).AutoSearch(0/*exStartWith*/);
COM::createFromVariant(com_Columns.Add("exContains")).AutoSearch(1/*exContains*/);
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.CellCaption(com_Items.AddItem("text"),COMVariant::createFromInt(1),"another text");
var_Items1 = excombobox1.Items(); com_Items1 = var_Items1;
com_Items1.CellCaption(com_Items1.AddItem("text"),COMVariant::createFromInt(1),"another text");
}
|
111
|
How do I call your x-script language

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.ExecuteTemplate("Columns.Add(`Column`)")); com_Column = var_Column;
com_Column.HeaderStrikeOut(true);
com_Column.HeaderBold(true);
}
|
110
|
How do I call your x-script language

public void init()
{
;
super();
excombobox1.Template("Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`");
}
|
109
|
How do I show alternate rows in different background color

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
excombobox1.BackColorAlternate(WinApi::RGB2int(240,240,240));
excombobox1.Columns().Add("Column");
var_Items = excombobox1.Items(); com_Items = var_Items;
com_Items.AddItem("Item 1");
com_Items.AddItem("Item 2");
com_Items.AddItem("Item 3");
com_Items.AddItem("Item 4");
com_Items.AddItem("Item 5");
}
|
108
|
How do I enlarge the drop down filter window

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarDropDownHeight("-320");
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterBarDropDownWidth("-320");
excombobox1.Items().AddItem("Item 1");
excombobox1.Items().AddItem("Item 2");
}
|
107
|
How do I filter programatically the control

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(3/*exPattern*/);
com_Column.Filter("Item*");
excombobox1.Items().AddItem("Item 1");
excombobox1.Items().AddItem("");
excombobox1.Items().AddItem("Item 2");
excombobox1.ApplyFilter();
}
|
106
|
How do I change the font of the control's filterbar

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarFont().Size(20);
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
105
|
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
excombobox1.FilterBarBackColor(0x1000000);
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
104
|
How do I change the background color of the control's filterbar

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarBackColor(WinApi::RGB2int(240,240,240));
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
103
|
How do I change the foreground color of the control's filterbar

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarForeColor(WinApi::RGB2int(255,0,0));
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
102
|
How do I change the height of the control's filterbar

public void init()
{
COM com_Column;
anytype var_Column;
;
super();
excombobox1.FilterBarHeight(32);
var_Column = COM::createFromVariant(excombobox1.Columns().Add("Column")); com_Column = var_Column;
com_Column.DisplayFilterButton(true);
com_Column.FilterType(1/*exBlanks*/);
excombobox1.ApplyFilter();
}
|
101
|
How do I change the header's foreground color

public void init()
{
;
super();
excombobox1.HeaderForeColor(WinApi::RGB2int(255,0,0));
excombobox1.Columns().Add("Column 1");
excombobox1.Columns().Add("Column 2");
excombobox1.Items().AddItem("Item 1");
}
|